package com.ypbase.cloud.tags.common.util;

import java.text.SimpleDateFormat;

public class SDFs {

	private SDFs() {
	}

	public static SDFs getNew() {
		return new SDFs();
	}

	public final String PATTERN3FD = "yyyyMMdd";
	public final String PATTERN3 = "yyyy-MM-dd";
	public final String PATTERN4 = "HH:mm:ss.SSS";
	public final String PATTERN5 = "yyyy-MM-dd HH:mm";
	public final String PATTERN6 = "yyyy-MM-dd HH:mm:ss";
	public final String PATTERN7 = "yyyy-MM-dd HH:mm:ss.SSS";
	public final String PATTERN_LOG = "yyyy-MM-dd,HH:mm:ss,SSS";
	public final String PATTERN_EVENT = "yyyy-MM-dd HH:mm:ss SSS";
	public final String PATTERN_DT_CN = "yyyy年MM月dd日 HH:mm:ss";
	public final String PATTERN_YMD_CN = "yyyy年MM月dd日";

	public final SimpleDateFormat SDF3FD = new SimpleDateFormat(PATTERN3FD);
	public final SimpleDateFormat SDF3 = new SimpleDateFormat(PATTERN3);
    public final SimpleDateFormat SDF4 = new SimpleDateFormat(PATTERN4);
    public final SimpleDateFormat SDF5 = new SimpleDateFormat(PATTERN5);
    public final SimpleDateFormat SDF6 = new SimpleDateFormat(PATTERN6);
    public final SimpleDateFormat SDF7 = new SimpleDateFormat(PATTERN7);
    public final SimpleDateFormat SDF_LOG = new SimpleDateFormat(PATTERN_LOG);
    public final SimpleDateFormat SDF_EVENT = new SimpleDateFormat(PATTERN_EVENT);
	public final SimpleDateFormat SDF_DT_CN = new SimpleDateFormat(PATTERN_DT_CN);
	public final SimpleDateFormat SDF_YMD_CN = new SimpleDateFormat(PATTERN_YMD_CN);

	public final SimpleDateFormat newSdfBy(String pattern){
		return new SimpleDateFormat(pattern);
	}

}
